Why does sum([2 3 4] 1) return 2 in my JavaScript recursion example

welcome to shbcf.ru